import styled from 'styled-components';

const Swiper = styled.div`
  width: 100%;
  height: 700px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 2px 4px -2px rgb(0 0 0 / 15%);
  .ant-carousel .slick-slide {
    height: 700px;
  }
`;

const SwiperCard = styled.div`
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 700px;
  object-fit: cover;
  object-position: top;
`;

const SwiperCardText = styled.div`
  background-image: linear-gradient(transparent, rgba(10, 15, 20, 0.2));
  z-index: 10;
  position: absolute;
  top: -120px;
  width: 100%;
  height: 800px;
  display: flex;
  align-items: center;
  .ant-row {
    width: 100%;
  }
`;

const BannerImg = styled.img`
  width: 100%;
  height: 100%;
`;

const BannerTitle = styled.div`
  font-size: 3rem;
  font-weight: 600;
  color: white;
`;

const BannerSubTitle = styled.div`
  font-size: 1rem;
  font-weight: 400;
  color: white;
`;

export default {
  Swiper,
  SwiperCard,
  SwiperCardText,
  BannerImg,
  BannerTitle,
  BannerSubTitle,
};
